<?php $delim = ' &raquo; '; ?>
<div id="prd-breadcrumbs">
	<ul>
		<li><a href="<?php echo $this->urlToPage($this->config('pageIdShop')) ?>">Shop</a></li>
		<?php foreach($this->rootline AS $index=>$category): ?>
			<li><?php echo $delim ?></li>
			<?php if($index == 0): ?>
				<li><a href="<?php echo $this->urlToPage($this->config('pageIdCategories'), array('sherpa' => array('catId' => $category->getId()))) ?>"><?php echo $this->escape($category->getName()) ?></a></li>
			<?php elseif($index == 1): ?>
				<li><a href="<?php echo $this->urlToPage($this->config('pageIdCategories'), array('sherpa' => array('catId' => $category->getParentId(), 'subcatId' => $category->getId()))) ?>"><?php echo $this->escape($category->getName()) ?></a></li>
			<?php endif; ?>
		<?php endforeach; ?>
		<li><?php echo $delim ?></li>
		<li><a href="<?php echo $this->sherpaUrl()->productDetail($this->config('pageIdDetails'), $this->product->getId()) ?>"><?php echo $this->escape($this->product->getFullProductName()) ?></a></li>
	</ul>
</div>